docs(im): warn against fabricating chat URLs from chat_id#861
docs(im): warn against fabricating chat URLs from chat_id#861shifengjuan-dev wants to merge 1 commit into
Conversation
Add a "Sharing Chats / Generating Chat URLs" note in lark-im SKILL.md and a Scenario 4 in chat-search reference, telling users (and agents) to always source group links from chats.link and never hand-construct applink.feishu.cn/...?chatId=oc_xxx style URLs -- those do not navigate. The chats.link host is tenant-specific, so it is not hard-coded in docs or examples. Change-Id: I3bd8883f530384b96dcdcfdb2665e84a4dbe639e
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR adds documentation guidance on generating tenant-specific group share links using the ChangesChat Share Link Generation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
skills/lark-im/SKILL.md: group share links must come fromchats.link; never hand-buildapplink.feishu.cn/...?chatId=oc_xxxstyle URLs from achat_id(they don't navigate).skills/lark-im/references/lark-im-chat-search.mdlinking+chat-search->chats.linkand pointing back to the SKILL.md note.Motivation: a recent postmortem (Bytedance docx NwTcdGd...) captured an Agent fabricating
applink.feishu.cn/client/chat/chatter?chatId=oc_xxxURLs for group sharing. The links looked plausible but did not navigate. There was nothing in the skill telling the model "go tochats.link, don't invent URLs" -- so the same trap was easy to walk back into. These two short additions close that gap. Thechats.linkhost is tenant-specific, so it is not hard-coded in docs or examples.Test plan
skills/lark-im/SKILL.mdand confirm the new section sits between Card Messages and Flag Types.skills/lark-im/references/lark-im-chat-search.mdand confirm Scenario 4 follows Scenario 3 with a working anchor link back to SKILL.md.Summary by CodeRabbit
Documentation